package cz.zcu.fav.ratdroid.activity;

import android.app.Activity;
import android.os.Bundle;
/**
 * Settings activity which shows all app settings to user.
 * @author Lukas Gemela
 *
 */
public class SettingsActivity extends Activity
{
	/** Settings keys **/
	public static String KEY_PREF_USERNAME = "pref_name";
	public static String KEY_PREF_PASSWORD = "pref_pass";
	public static String KEY_PREF_URL = "pref_url";
	public static String KEY_PREF_PATH = "pref_path";
	public static String KEY_PREF_PORT = "pref_port";
	public static String KEY_PREF_TIMEOUT = "pref_timeout";

	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);

		// Display the fragment as the main content.
		getFragmentManager().beginTransaction()
				.replace(android.R.id.content, new SettingsFragment()).commit();
	}

}
